/*
 * @Author: PC9527\Jack sophia2152@qq.com
 * @Date: 2023-07-20 11:17:21
 * @LastEditors: PC9527\Jack sophia2152@qq.com
 * @LastEditTime: 2023-07-20 11:43:31
 * @Description:
 */
import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const index: AppRouteModule = {
  path: '/index',
  name: 'Index',
  component: LAYOUT,
  redirect: '/index/index',
  meta: {
    orderNo: 10,
    icon: 'ant-design:home-outlined',
    title: t('routes.index.index'),
  },
  children: [
    {
      path: 'index',
      name: 'Index',
      component: () => import('/@/views/index/index.vue'),
      meta: {
        // affix: true,
        title: t('routes.index.system_index'),
      },
    },
  ],
};

export default index;
